package js.lee.jvli;

import js.lee.jvli.config.Configuration;
import js.lee.jvli.cron.JobManager;
import js.lee.jvli.kit.DebugKit;

public class Jvli {
    public static void main(String[] args) {

        try {
            Configuration config = Configuration.getInstance();
            DebugKit.welcome(config);

            JobManager jobManager = new JobManager(config.getTaskList());
            jobManager.start();
        }
        catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) {
            e.printStackTrace();
        }

        System.out.println("Main loop done!");
    }
}
